package com.jt.service;

import com.jt.dao.UserDao;
import com.jt.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * @outhor fufeixiang
 * @date 2021-04-23
 */
@Service("userServiceImpl1")
public class UserServiceImpl implements UserService{
    @Autowired//根据类型进行注入
    private UserDao userDao;


    @Override
    public void userAdd(User user) {
        userDao.addUser(user);
    }
}
